home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
makefiles
/
Makedefs.global
< prev
next >
Wrap
Text File
|
1993-11-17
|
3KB
|
85 lines
#
# Miscellaneous common definitions for the makefiles in these directories.
#
# GEOM, NAME (or COMMONNAME), INCS, SRCS, and OBJS
# should be set before calling this.
#
# If you will always be compiling on the same kind of computer (SGI or
# NeXT) you can avoid having to set the CPU environment variable by
# setting CPU here. Use CPU=NeXT for NeXTStep, or CPU=iris4 or SGIs.
# By default we don't set CPU at all here so that we can inherit the
# value from the environment variable. Insert your setting, if you
# choose to make one, here:
# CPU = whatever
# The options passed to the C compiler include COPTS.
# If you don't need libraries and programs compiled with debugging symbols,
# you could set COPTS = -O for smaller, faster executables.
# Also, you could set COPTS in the mk.sgi, mk.next, etc. files to
# override this value for machine-specific cases.
COPTS = -g
########################################################################
# You probably won't need to change anything below here.
SHELL = /bin/sh
include ${GEOM}/makefiles/mk.${CPU}
# Read default site-specific installation dir settings.
# Could set SITE = default.${MACHTYPE}, and create files mk.site.default.next,
# mk.site.default.sgi, etc. if paths must differ across machines.
SITE = default
include ${GEOM}/makefiles/mk.site.${SITE}
MKDEP = ${GEOM}/tools/mkdep
IPATH = -I${GEOM}/include
CONF =
CFLAGS = ${COPTS} ${SYSCOPTS} ${MORECOPTS} -DMACHTYPE='"${MACHTYPE}"' ${IPATH}
LIBDIR = ${GEOM}/lib/${MACHTYPE}
MODULEDIR = ${GEOM}/modules/${MACHTYPE}
INSTALLMODULE = ${GEOM}/tools/installmodule
LIB = ${LIBDIR}/lib${NAME}.a
COMMONLIB = commonlib
RMAKE=${MAKE} SITE=${SITE}
# All possible OOGL libraries in the proper order, for convenience of
# application programs
ALLOOGLLIBS = -L${LIBDIR} \
-lgeom -lquad -lpolylist -lvect -lbezier -lmesh -lvect \
-lsphere -linst -ltlist -llist -lbbox -ldg -lcomment -lbbox \
-lstub -lgeom \
-lmg -lcamera -lwindow \
-lshade -loogl -l3d -lcolor -loogl
LDIRT =
# DIRT is removed with commonrules clean or clobber
DIRT = *.o *~ .places a.out core ${LDIRT}
# File for storing per-system-type make dependencies.
MKDEPFILE = Mkdep
# Default values for various macros:
TARGETS =
DISTDIRS =
DISTFILES =
OBJS=
CPLUSPLUS_OBJS=
INCS=
DISTDIRT=
COMMONNAME=none
NAME=
COMMON_SRCS=
DOCS=
MMAPKGS=
INSTALLS=
# OTHER_DISTFILES_CMD is a Bourne shell command used to
# generate a list of additional files to be included in the FILES
# file. By default it is ':', which is the null command.
OTHER_DISTFILES_CMD=: